﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MastePage.master" AutoEventWireup="true" CodeFile="Nastan.aspx.cs" Inherits="Nastan" %>

<%@ Register assembly="EO.Web" namespace="EO.Web" tagprefix="eo" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
    <style type="text/css">
        .style7
    {
        width: 100%;
    }
    .style8
    {
        width: 94px;
    }
        .style9
        {
            width: 212px;
        }
        .style11
        {
            font-weight: normal;
        }
        .style12
        {
            width: 94px;
            font-weight: normal;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <table class="style7">
    <tr>
        <td class="style12">
            Наслов:</td>
        <td colspan="2">
            <asp:TextBox ID="txtNaslov" runat="server" Width="536px" 
                ValidationGroup="grupa"></asp:TextBox>
            <span class="style11">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ControlToValidate="txtNaslov" ErrorMessage="* Внесете наслов" 
                ForeColor="Red" ValidationGroup="grupa"></asp:RequiredFieldValidator>
            </span>
        </td>
    </tr>
    <tr>
        <td class="style12">
            Категорија:</td>
        <td colspan="2">
            <asp:DropDownList ID="ddlKategorija" runat="server" Width="130px" 
                ValidationGroup="grupa">
                <asp:ListItem>-избери-</asp:ListItem>
                <asp:ListItem>Македонија</asp:ListItem>
                <asp:ListItem>Свет</asp:ListItem>
                <asp:ListItem>Култура</asp:ListItem>
                <asp:ListItem>Наука</asp:ListItem>
                <asp:ListItem>Спорт</asp:ListItem>
                <asp:ListItem>Шоу Бизнис</asp:ListItem>
            </asp:DropDownList>
            <span class="style11">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ControlToValidate="ddlKategorija" ErrorMessage="* Изберете категорија" 
                ForeColor="Red" InitialValue="-избери-" ValidationGroup="grupa"></asp:RequiredFieldValidator>
            </span>
        </td>
    </tr>
    <tr>
        <td class="style12">
            Датум:</td>
        <td colspan="2">
            <eo:DatePicker ID="kalendar" runat="server" ControlSkinID="None" 
                DayCellHeight="15" DayCellWidth="31" DayHeaderFormat="Short" DisabledDates=""                  
                onselectionchanged="kalendar_SelectionChanged1" OtherMonthDayVisible="True" 
                SelectedDates="" TitleFormat="MMMM, yyyy" 
                TitleLeftArrowImageUrl="DefaultSubMenuIconRTL" 
                TitleRightArrowImageUrl="DefaultSubMenuIcon" VisibleDate="2012-01-01">
                <CalendarStyle CssText="background-color:white;border-bottom-color:Silver;border-bottom-style:solid;border-bottom-width:1px;border-left-color:Silver;border-left-style:solid;border-left-width:1px;border-right-color:Silver;border-right-style:solid;border-right-width:1px;border-top-color:Silver;border-top-style:solid;border-top-width:1px;color:#2C0B1E;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                <TitleStyle CssText="font-family:Verdana;font-size:8.75pt;padding-bottom:5px;padding-left:5px;padding-right:5px;padding-top:5px;" />
                <TitleArrowStyle CssText="cursor: hand" />
                <MonthStyle CssText="cursor:hand;margin-bottom:0px;margin-left:4px;margin-right:4px;margin-top:0px;" />
                <DayHeaderStyle CssText="font-family:Verdana;font-size:8pt;border-bottom: #f5f5f5 1px solid" />
                <DayStyle CssText="font-family:Verdana;font-size:8pt;" />
                <DayHoverStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040402');color:#1c7cdc;" />
                <TodayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040401');color:#1176db;" />
                <SelectedDayStyle CssText="font-family:Verdana;font-size:8pt;background-image:url('00040403');color:Brown;" />
                <DisabledDayStyle CssText="font-family:Verdana;font-size:8pt;color: gray" />
                <FooterTemplate>
                    <table border="0" cellPadding="0" cellspacing="5" 
                        style="font-size: 11px; font-family: Verdana">
                        <tr>
                            <td width="30">
                            </td>
                            <td valign="center">
                                <img src="{img:00040401}"></img></td>
                            <td valign="center">
                                Today: {var:today:MM/dd/yyyy}</td>
                        </tr>
                    </table>
                </FooterTemplate>
            </eo:DatePicker>
        </td>
    </tr>
    <tr>
        <td class="style12" valign="top">
            Настан:</td>
        <td class="style9" valign="top">
            <asp:TextBox ID="txtOpis" runat="server" Height="179px" TextMode="MultiLine" 
                Width="533px" ValidationGroup="grupa"></asp:TextBox>
        </td>
        <td valign="top">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator3" runat="server" 
                ControlToValidate="txtOpis" ErrorMessage="* Внесете го описот на настанот" 
                ForeColor="Red" ValidationGroup="grupa" Font-Bold="False"></asp:RequiredFieldValidator>
        </td>
    </tr>
    <tr>
        <td class="style12">
            Локација:</td>
        <td colspan="2">
            <asp:TextBox ID="txtLokacija" runat="server" ValidationGroup="grupa"></asp:TextBox>
            <span class="style11">
            <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" 
                ControlToValidate="txtLokacija" ErrorMessage="* Внесете локација" 
                ForeColor="Red" ValidationGroup="grupa"></asp:RequiredFieldValidator>
            </span>
        </td>
    </tr>
    <tr>
        <td class="style8">
            <span class="style11"></td>
        <td colspan="2">
            </span></td>
    </tr>
    <tr>
        <td class="style12" valign="top">
            Слики:</td>
        <td colspan="2">
            <asp:BulletedList ID="blSliki" runat="server" BulletStyle="Numbered" 
                Font-Bold="False">
            </asp:BulletedList>
            <asp:FileUpload ID="fuSlika" runat="server" />
&nbsp;<span class="style11"><asp:Label ID="ValidacijaSlika" runat="server" ForeColor="Red" 
                Text="* Мора да има барем една слика"></asp:Label>
            <br />
            </span>
            <asp:Button ID="btnSlika" runat="server" onclick="btnSlika_Click" 
                Text="Додади" ValidationGroup="grupa" />
            <span class="style11">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label ID="Label1" runat="server"></asp:Label>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            </span>
        </td>
    </tr>
    <tr>
        <td class="style8">
            <span class="style11"></td>
        <td colspan="2">
            </span></td>
    </tr>
    <tr>
        <td class="style12" valign="top">
            Видео:<br />
        </td>
        <td colspan="2">
            <asp:FileUpload ID="fuVideo" runat="server" />
            <span class="style11">
            <br />
            </span>
            <asp:Button ID="btnVideo" runat="server" onclick="btnVideo_Click" 
                Text="Внеси" ValidationGroup="grupa" />
            <span class="style11">
            <br />
            <br />
            </span>
            <asp:Button ID="btnPotvrda" runat="server" onclick="btnPotvrda_Click" 
                Text="Поднеси" />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
            <br />
        </td>
    </tr>
</table>
</asp:Content>

